﻿using AutoMapper;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WomanMotion.WebApi.Infrastructure.DataBaseCommon;
using WomanMotion.WebApi.Model.Dtos.Classify;
using WomanMotion.WebApi.Model.Dtos.Team;
using WomanMotion.WebApi.Model.Dtos.Watch;
using WomanMotion.WebApi.Model.Entitys;
using WomanMotion.WebApi.Repository.IRepository;
using WomanMotion.WebApi.Repository.Repository;
using WomanMotion.WebApi.Service.IService;

namespace WomanMotion.WebApi.Service.Service
{
    public class WatchService : BaseCRUDService<Watch, WatchVM, UpdateWatchDTO, CreatedWatchDTO>, IWatchService
    {
        private readonly IWatchRepository _watchRepository;

        public WatchService(ILogger<WatchService> logger, IMapper mapper, IWatchRepository watchRepository, IHttpContextAccessor httpContext) : base(logger, mapper, watchRepository, httpContext)
        {
            this._watchRepository = watchRepository;
        }
    }
}